<?php
include "db.class.php";
include ("Exception.class.php");
try{
    $db = new Core_DB;
    $db->connect('localhost', 'root', '257013', 'jiage');
    $db->query("select * from aaa");
}catch(Core_Exception $e) {
    echo $e->__toString();
}
?>
